package com.neuedu.helloworld.controller;


import com.neuedu.helloworld.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {





    /**
     * 保存用户
     * @param user
     * @return
     */
    @RequestMapping("/save")
    public User save(User user){

        System.out.println(user);

        return user;

    }



}
